crypto/tls.halfConn.mac (field)
10 uses
crypto/tls (current package)
conn.go#L177: mac hash.Hash
conn.go#L222: hc.mac = hc.nextMac
conn.go#L389: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L434: if hc.mac != nil {
conn.go#L435: macSize := hc.mac.Size()
conn.go#L445: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L511: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L540: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L909: payloadBytes -= c.out.mac.Size()
conn.go#L919: payloadBytes -= c.out.mac.Size()
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |